const user = [{
    title: '用户管理',
    module: 'user',
    icon: 'edu-icon-user',
    meta: {
        permission: 'user'
    },
    quickbtn: [{
        title: '新建学员',
        path: '/user/student/create',
        meta: {
            permission: 'user.student.create'
        }
    }, {
        title: '新建讲师',
        path: '/user/teacher/create',
        meta: {
            permission: 'user.teacher.create'
        }
    }],
    children: [{
        title: '学员',
        meta: {
            permission: 'user.student'
        },
        children: [{
            title: '学员',
            path: '/user/student',
            meta: {
                permission: 'user.student.list'
            }
        }, {
            title: '会员',
            path: '/user/student/vip',
            meta: {
                permission: 'user.student.vip.list'
            }
        }]
    }, {
        title: '讲师',
        meta: {
            permission: 'user.teacher'
        },
        children: [{
            title: '已审',
            path: '/user/teacher',
            meta: {
                permission: 'user.teacher.list'
            }
        }, {
            title: '待审',
            path: '/user/teacher/waiting',
            meta: {
                permission: 'user.teacher.examine'
            }
        }, {
            title: '等级',
            path: '/user/teacher/level',
            meta: {
                permission: 'user.teacher.level.list'
            }
        }, {
            title: '分类',
            path: '/user/teacher/category',
            meta: {
                permission: 'user.teacher.category.list'
            }
        }]
    }, {
        title: '管理员',
        meta: {
            permission: 'user.admin'
        },
        children: [{
            title: '管理员',
            path: '/user/account',
            meta: {
                permission: 'user.admin.list'
            }
        }, {
            title: '角色管理',
            path: '/user/group',
            meta: {
                permission: 'user.admin.role.list'
            }
        // },
        //  {
        //     title: '节点列表',
        //     path: '/user/permission',
        //     meta: {
        //         permission: 'user.admin.permission.list'
        //     }
        }
        ]
    }]
}]

export default user
